package com.tongtong.middleware.vo;

import lombok.Getter;

/**
 * 通通链操作错误信息类
 */
@Getter
public enum ErrorMessage {

	UNKNOWN_ERROR(9999, "unknown error"), ARGUMENT_NOT_VALID(1, "参数错误");

	private final Integer code;

	private final String message;

	ErrorMessage(Integer code, String message) {
		this.code = code;
		this.message = message;
	}
}
